package fun.sweeper.unity.utils;

import java.util.Random;

/**
 * 进货价展示处理
 * @author chenjc
 * @since 2021/01/04 10:36
 */
public class PurchaseUtil {

    private static final Random random = new Random();
    private static final String POINT = ".";
    private static final char REPLACE = 'm';

    public static String randomCode(String realPurchasePrice) {
        StringBuilder purchase = new StringBuilder();
        purchase.append(random.nextInt(10));
        purchase.append(random.nextInt(10));
        purchase.append("E");
        purchase.append(realPurchasePrice);
        return purchase.toString();
    }
}
